@import "./base.less";

.@{css-prefix}.carousel {
  position: relative;
  display: block;
  box-sizing: border-box;
  -webkit-touch-callout: none;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;

  .content {
    position: relative;
    overflow: hidden;
    display: block;
    margin: 0;
    padding: 0;

    .list {
      position: relative;
      left: 0;
      top: 0;
      display: block;
      list-style: none;
      margin: 0;
      padding: 0;

      .item {
        float: left;
        height: 100%;
        min-height: 1px;
        display: block;

        .image {
          margin: 0!important;
        }
      }
    }
  }

  .dots {
    position: absolute;
    bottom: 12px;
    list-style: none;
    display: block;
    text-align: center;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 3px;

    li {
      position: relative;
      display: inline-block;
      vertical-align: top;
      text-align: center;
      margin: 0 2px;
      padding: 0;
      background: #fff;
      opacity: .3;
      .transition(all .5s);
      width: 1em;
      height: 3px;
      cursor: pointer;

      &.active {
        opacity: 1;
        width: 1.6em;
      }
    }
  }

}
